package net.torbenvoltmer.vepa;

import net.torbenvoltmer.vepa.Shared.VepaInfo;
import net.torbenvoltmer.vepa.Shared.VepaPDF;
import net.torbenvoltmer.vepa.TCP.TCPClient;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * Created by Torben on 6/30/13.
 */
public class VepaManager {

    TCPClient client;
    public static Map<Integer, VepaInfo> INFO_MAP = new HashMap<Integer, VepaInfo>();

    private VepaManager()
    {
        client = new TCPClient();
    }

    public static void UpdateInfoList()
    {
        for(VepaInfo info: client.getList())
        {
            INFO_MAP.put(info.Version,info);
        }
    }


}
